// 导出学科管理的路由规则

import Layout from '@/layout'
export default {
    path: '/subjectManagement',
    name: 'subjectManagement',
    component: Layout,
    meta: {
        title: '学科管理',
        icon: 'wechat'
    },
    children: [{
            path: 'subject',
            name: 'subject',
            component: () =>
                import ('@/views/subject'),
            meta: {
                title: '学科',
                icon: 'tree-table'
            }
        }, {
            path: 'directory',
            name: 'directory',
            component: () =>
                import ('@/views/directory'),
            meta: {
                title: '目录',
                icon: 'star'
            }
        },
        {
            path: 'label',
            name: 'label',
            component: () =>
                import ('@/views/label'),
            meta: {
                title: '标签',
                icon: 'guide'
            }
        }
    ]

}